package com.famdoc.Pojo.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 新增随访表单
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class VisitFrom {
    private Integer id; //随访id
    private Integer doctorId; //医生id
    private Integer patientId; //患者id
    private String drugUsage; //用药情况
    private String symptoms; //患者症状
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime visitTime; //随访时间
    private String visitWay; //随访方式
    private String livingHabit; //生活情况
    private Integer visitSign; //随访标识,0代表草稿，1代表完成随访，2代表随访逾期
    private String remark; //随访备注
    private Integer checkId; //体检id
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime healthTime; //体检时间
    private String result; //体检结果
    private Integer checkItemId; //体检项目id
    private Float bloodGlucose; //血糖
    private Float height; //身高
    private Float weight; //体重
    private Float temperature; //体温
    private Float pulseRate; //脉率
    private Float bloodPressure; //血压
}
